package paas.storage;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import paas.storage.serviceTest.IConnectionTest;
import paas.storage.serviceTest.IDataTest;
import paas.storage.serviceTest.IManagementTest;
import paas.storage.serviceTest.ITableTest;

/**
 * @author xufeng
 */
@SpringBootApplication
public class HbaseApiApplication implements ApplicationRunner {

    @Autowired
    private IConnectionTest iConnectionTest;

    @Autowired
    private ITableTest iTableTest;
    @Autowired
    private IDataTest iDataTest;
    @Autowired
    IManagementTest iManagementTest;


    public static void main(String[] args) {
        SpringApplication.run(HbaseApiApplication.class, args);
    }

    @Override
    public void run(ApplicationArguments args) throws Exception {
        //iConnectionTest.createConnection();
    /*    iConnectionTest.createConnection();
        iTableTest.all();
        iDataTest.all();
        iManagementTest.all();*/
    }
}
